package com.xuan.service;

import com.xuan.common.util.PageResult;
import com.xuan.entity.Paper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xuan.valueobject.ValueObject;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xuan
 * @since 2025-01-12
 */
public interface IPaperService extends IService<Paper> {

    PageResult<Paper> findByPage(Integer page, Integer pageSize);

    PageResult<Paper> find(Integer page, Integer pageSize, ValueObject vo);

    boolean add(Paper paper);
}
